package com.example.spring.pulsar.demo.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;


@Import(PulsarConfig.class)
@Data
@Configuration
@ConfigurationProperties(prefix = SpringBootConfigProperties.PULSAR_PREFIX)
public class SpringBootConfigProperties {

    public static final String PULSAR_PREFIX = "spring.pulsar";

    private String url = "localhost:6650";


}
